package com.example.tool.erp.sdk.api.wms.stockdefect.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class DefectChangeSearchResponse
{
	@SerializedName("total_count") private Integer total;
	@SerializedName("order") private List<Order> orderList;

	public static class Order
	{
		@SerializedName("details_list") private List<Detail> detailsList;
		@SerializedName("created") private String created;
		@SerializedName("goods_type_count") private Integer goodsTypeCount;
		@SerializedName("remark") private String remark;
		@SerializedName("goods_count") private String goodsCount;
		@SerializedName("rec_id") private Integer recId;
		@SerializedName("type") private Boolean type;
		@SerializedName("change_no") private String changeNo;
		@SerializedName("warehouse_no") private String warehouseNo;
		@SerializedName("creator_id") private Integer creatorId;
		@SerializedName("modified") private String modified;
		@SerializedName("creator_name") private String creatorName;
		@SerializedName("status") private Byte status;
		@SerializedName("warehouse_id") private Integer warehouseId;

		public static class Detail
		{
			@SerializedName("change_id") private Integer changeId;
			@SerializedName("rec_id") private Integer recId;
			@SerializedName("spec_id") private Integer specId;
			@SerializedName("spec_no") private String specNo;
			@SerializedName("from_position_no") private String fromPositionNo;
			@SerializedName("to_position_no") private String toPositionNo;
			@SerializedName("unit_name") private String unitName;
			@SerializedName("aux_unit_name") private String auxUnitName;
			@SerializedName("unit_id") private Integer unitId;
			@SerializedName("base_unit_id") private Integer baseUnitId;
			@SerializedName("unit_ratio") private BigDecimal unitRatio;
			@SerializedName("remark") private String remark;
			@SerializedName("defect") private Boolean defect;
			@SerializedName("num") private BigDecimal num;
			@SerializedName("num2") private BigDecimal num2;

			public Integer getChangeId()
			{
				return changeId;
			}

			public void setChangeId(Integer changeId)
			{
				this.changeId = changeId;
			}

			public Integer getRecId()
			{
				return recId;
			}

			public void setRecId(Integer recId)
			{
				this.recId = recId;
			}

			public Integer getSpecId()
			{
				return specId;
			}

			public void setSpecId(Integer specId)
			{
				this.specId = specId;
			}

			public String getSpecNo()
			{
				return specNo;
			}

			public void setSpecNo(String specNo)
			{
				this.specNo = specNo;
			}

			public String getFromPositionNo()
			{
				return fromPositionNo;
			}

			public void setFromPositionNo(String fromPositionNo)
			{
				this.fromPositionNo = fromPositionNo;
			}

			public String getToPositionNo()
			{
				return toPositionNo;
			}

			public void setToPositionNo(String toPositionNo)
			{
				this.toPositionNo = toPositionNo;
			}

			public String getUnitName()
			{
				return unitName;
			}

			public void setUnitName(String unitName)
			{
				this.unitName = unitName;
			}

			public String getAuxUnitName()
			{
				return auxUnitName;
			}

			public void setAuxUnitName(String auxUnitName)
			{
				this.auxUnitName = auxUnitName;
			}

			public Integer getUnitId()
			{
				return unitId;
			}

			public void setUnitId(Integer unitId)
			{
				this.unitId = unitId;
			}

			public Integer getBaseUnitId()
			{
				return baseUnitId;
			}

			public void setBaseUnitId(Integer baseUnitId)
			{
				this.baseUnitId = baseUnitId;
			}

			public BigDecimal getUnitRatio()
			{
				return unitRatio;
			}

			public void setUnitRatio(BigDecimal unitRatio)
			{
				this.unitRatio = unitRatio;
			}

			public String getRemark()
			{
				return remark;
			}

			public void setRemark(String remark)
			{
				this.remark = remark;
			}

			public Boolean getDefect()
			{
				return defect;
			}

			public void setDefect(Boolean defect)
			{
				this.defect = defect;
			}

			public BigDecimal getNum()
			{
				return num;
			}

			public void setNum(BigDecimal num)
			{
				this.num = num;
			}

			public BigDecimal getNum2()
			{
				return num2;
			}

			public void setNum2(BigDecimal num2)
			{
				this.num2 = num2;
			}
		}

		public List<Detail> getDetailsList()
		{
			return detailsList;
		}

		public void setDetailsList(List<Detail> detailsList)
		{
			this.detailsList = detailsList;
		}

		public String getCreated()
		{
			return created;
		}

		public void setCreated(String created)
		{
			this.created = created;
		}

		public Integer getGoodsTypeCount()
		{
			return goodsTypeCount;
		}

		public void setGoodsTypeCount(Integer goodsTypeCount)
		{
			this.goodsTypeCount = goodsTypeCount;
		}

		public String getRemark()
		{
			return remark;
		}

		public void setRemark(String remark)
		{
			this.remark = remark;
		}

		public String getGoodsCount()
		{
			return goodsCount;
		}

		public void setGoodsCount(String goodsCount)
		{
			this.goodsCount = goodsCount;
		}

		public Integer getRecId()
		{
			return recId;
		}

		public void setRecId(Integer recId)
		{
			this.recId = recId;
		}

		public Boolean getType()
		{
			return type;
		}

		public void setType(Boolean type)
		{
			this.type = type;
		}

		public String getChangeNo()
		{
			return changeNo;
		}

		public void setChangeNo(String changeNo)
		{
			this.changeNo = changeNo;
		}

		public String getWarehouseNo()
		{
			return warehouseNo;
		}

		public void setWarehouseNo(String warehouseNo)
		{
			this.warehouseNo = warehouseNo;
		}

		public Integer getCreatorId()
		{
			return creatorId;
		}

		public void setCreatorId(Integer creatorId)
		{
			this.creatorId = creatorId;
		}

		public String getModified()
		{
			return modified;
		}

		public void setModified(String modified)
		{
			this.modified = modified;
		}

		public String getCreatorName()
		{
			return creatorName;
		}

		public void setCreatorName(String creatorName)
		{
			this.creatorName = creatorName;
		}

		public Byte getStatus()
		{
			return status;
		}

		public void setStatus(Byte status)
		{
			this.status = status;
		}

		public Integer getWarehouseId()
		{
			return warehouseId;
		}

		public void setWarehouseId(Integer warehouseId)
		{
			this.warehouseId = warehouseId;
		}
	}

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}

	public List<Order> getOrderList()
	{
		return orderList;
	}

	public void setOrderList(List<Order> orderList)
	{
		this.orderList = orderList;
	}
}
